Optimal. Leaf size=745 \[ \frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {i b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {i b \text {Li}_2\left (\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {i b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {i b \text {Li}_2\left (\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {1-\frac {1}{c^2 x^2}} \sqrt {c^2 d+e}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {1-\frac {1}{c^2 x^2}} \sqrt {c^2 d+e}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.22, antiderivative size = 745, normalized size of antiderivative = 1.00, number of steps used = 27, number of rules used = 10, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.476, Rules used = {5240, 4668, 4744, 725, 206, 4742, 4520, 2190, 2279, 2391} \[ \frac {i b \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {i b \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {i b \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {i b \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {1-\frac {1}{c^2 x^2}} \sqrt {c^2 d+e}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {1-\frac {1}{c^2 x^2}} \sqrt {c^2 d+e}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 725
Rule 2190
Rule 2279
Rule 2391
Rule 4520
Rule 4668
Rule 4742
Rule 4744
Rule 5240
Rubi steps
\begin {align*} \int \frac {x^2 \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx &=-\operatorname {Subst}\left (\int \frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{\left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right )\\ &=-\operatorname {Subst}\left (\int \left (-\frac {d \left (a+b \cos ^{-1}\left (\frac {x}{c}\right )\right )}{4 e \left (\sqrt {-d} \sqrt {e}-d x\right )^2}-\frac {d \left (a+b \cos ^{-1}\left (\frac {x}{c}\right )\right )}{4 e \left (\sqrt {-d} \sqrt {e}+d x\right )^2}-\frac {d \left (a+b \cos ^{-1}\left (\frac {x}{c}\right )\right )}{2 e \left (-d e-d^2 x^2\right )}\right ) \, dx,x,\frac {1}{x}\right )\\ &=\frac {d \operatorname {Subst}\left (\int \frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{\left (\sqrt {-d} \sqrt {e}-d x\right )^2} \, dx,x,\frac {1}{x}\right )}{4 e}+\frac {d \operatorname {Subst}\left (\int \frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{\left (\sqrt {-d} \sqrt {e}+d x\right )^2} \, dx,x,\frac {1}{x}\right )}{4 e}+\frac {d \operatorname {Subst}\left (\int \frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{-d e-d^2 x^2} \, dx,x,\frac {1}{x}\right )}{2 e}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {-d} \sqrt {e}-d x\right ) \sqrt {1-\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{4 c e}-\frac {b \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {-d} \sqrt {e}+d x\right ) \sqrt {1-\frac {x^2}{c^2}}} \, dx,x,\frac {1}{x}\right )}{4 c e}+\frac {d \operatorname {Subst}\left (\int \left (-\frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{2 d \sqrt {e} \left (\sqrt {e}-\sqrt {-d} x\right )}-\frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{2 d \sqrt {e} \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{2 e}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {\operatorname {Subst}\left (\int \frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{4 e^{3/2}}-\frac {\operatorname {Subst}\left (\int \frac {a+b \cos ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{4 e^{3/2}}-\frac {b \operatorname {Subst}\left (\int \frac {1}{d^2+\frac {d e}{c^2}-x^2} \, dx,x,\frac {-d+\frac {\sqrt {-d} \sqrt {e}}{c^2 x}}{\sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 c e}+\frac {b \operatorname {Subst}\left (\int \frac {1}{d^2+\frac {d e}{c^2}-x^2} \, dx,x,\frac {d+\frac {\sqrt {-d} \sqrt {e}}{c^2 x}}{\sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 c e}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {\operatorname {Subst}\left (\int \frac {(a+b x) \sin (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cos (x)} \, dx,x,\sec ^{-1}(c x)\right )}{4 e^{3/2}}+\frac {\operatorname {Subst}\left (\int \frac {(a+b x) \sin (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cos (x)} \, dx,x,\sec ^{-1}(c x)\right )}{4 e^{3/2}}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}-\frac {i \operatorname {Subst}\left (\int \frac {e^{i x} (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^{i x}} \, dx,x,\sec ^{-1}(c x)\right )}{4 e^{3/2}}-\frac {i \operatorname {Subst}\left (\int \frac {e^{i x} (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^{i x}} \, dx,x,\sec ^{-1}(c x)\right )}{4 e^{3/2}}-\frac {i \operatorname {Subst}\left (\int \frac {e^{i x} (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^{i x}} \, dx,x,\sec ^{-1}(c x)\right )}{4 e^{3/2}}-\frac {i \operatorname {Subst}\left (\int \frac {e^{i x} (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^{i x}} \, dx,x,\sec ^{-1}(c x)\right )}{4 e^{3/2}}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {b \operatorname {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^{i x}}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\sec ^{-1}(c x)\right )}{4 \sqrt {-d} e^{3/2}}+\frac {b \operatorname {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^{i x}}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\sec ^{-1}(c x)\right )}{4 \sqrt {-d} e^{3/2}}-\frac {b \operatorname {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^{i x}}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\sec ^{-1}(c x)\right )}{4 \sqrt {-d} e^{3/2}}+\frac {b \operatorname {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^{i x}}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\sec ^{-1}(c x)\right )}{4 \sqrt {-d} e^{3/2}}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {(i b) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{i \sec ^{-1}(c x)}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {(i b) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{i \sec ^{-1}(c x)}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {(i b) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{i \sec ^{-1}(c x)}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {(i b) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{i \sec ^{-1}(c x)}\right )}{4 \sqrt {-d} e^{3/2}}\\ &=\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {a+b \sec ^{-1}(c x)}{4 e \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tanh ^{-1}\left (\frac {c^2 d-\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {b \tanh ^{-1}\left (\frac {c^2 d+\frac {\sqrt {-d} \sqrt {e}}{x}}{c \sqrt {d} \sqrt {c^2 d+e} \sqrt {1-\frac {1}{c^2 x^2}}}\right )}{4 \sqrt {d} e \sqrt {c^2 d+e}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {\left (a+b \sec ^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {i b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {i b \text {Li}_2\left (\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}+\frac {i b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}-\frac {i b \text {Li}_2\left (\frac {c \sqrt {-d} e^{i \sec ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 \sqrt {-d} e^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.80, size = 1245, normalized size = 1.67 \[ \frac {-\frac {2 a \sqrt {e} x}{e x^2+d}+\frac {2 a \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {d}}+b \left (-\frac {i \log \left (\frac {i e^{i \sec ^{-1}(c x)} \left (\sqrt {e}-\sqrt {d c^2+e}\right )}{c \sqrt {d}}+1\right ) \sec ^{-1}(c x)}{\sqrt {d}}+\frac {i \log \left (\frac {i e^{i \sec ^{-1}(c x)} \left (\sqrt {d c^2+e}-\sqrt {e}\right )}{c \sqrt {d}}+1\right ) \sec ^{-1}(c x)}{\sqrt {d}}+\frac {i \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {d c^2+e}\right ) e^{i \sec ^{-1}(c x)}}{c \sqrt {d}}\right ) \sec ^{-1}(c x)}{\sqrt {d}}-\frac {i \log \left (\frac {i e^{i \sec ^{-1}(c x)} \left (\sqrt {e}+\sqrt {d c^2+e}\right )}{c \sqrt {d}}+1\right ) \sec ^{-1}(c x)}{\sqrt {d}}+\frac {\sec ^{-1}(c x)}{i \sqrt {d}-\sqrt {e} x}-\frac {\sec ^{-1}(c x)}{\sqrt {e} x+i \sqrt {d}}-\frac {4 \sin ^{-1}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \tan ^{-1}\left (\frac {\left (\sqrt {e}-i c \sqrt {d}\right ) \tan \left (\frac {1}{2} \sec ^{-1}(c x)\right )}{\sqrt {d c^2+e}}\right )}{\sqrt {d}}+\frac {4 \sin ^{-1}\left (\frac {\sqrt {\frac {i \sqrt {e}}{c \sqrt {d}}+1}}{\sqrt {2}}\right ) \tan ^{-1}\left (\frac {\left (i \sqrt {d} c+\sqrt {e}\right ) \tan \left (\frac {1}{2} \sec ^{-1}(c x)\right )}{\sqrt {d c^2+e}}\right )}{\sqrt {d}}-\frac {2 i \sin ^{-1}\left (\frac {\sqrt {\frac {i \sqrt {e}}{c \sqrt {d}}+1}}{\sqrt {2}}\right ) \log \left (\frac {i e^{i \sec ^{-1}(c x)} \left (\sqrt {e}-\sqrt {d c^2+e}\right )}{c \sqrt {d}}+1\right )}{\sqrt {d}}+\frac {2 i \sin ^{-1}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (\frac {i e^{i \sec ^{-1}(c x)} \left (\sqrt {d c^2+e}-\sqrt {e}\right )}{c \sqrt {d}}+1\right )}{\sqrt {d}}-\frac {2 i \sin ^{-1}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {d c^2+e}\right ) e^{i \sec ^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {d}}+\frac {2 i \sin ^{-1}\left (\frac {\sqrt {\frac {i \sqrt {e}}{c \sqrt {d}}+1}}{\sqrt {2}}\right ) \log \left (\frac {i e^{i \sec ^{-1}(c x)} \left (\sqrt {e}+\sqrt {d c^2+e}\right )}{c \sqrt {d}}+1\right )}{\sqrt {d}}-\frac {i \sqrt {e} \log \left (\frac {2 \sqrt {d} \sqrt {e} \left (c \left (i c \sqrt {d}-\sqrt {-d c^2-e} \sqrt {1-\frac {1}{c^2 x^2}}\right ) x+\sqrt {e}\right )}{\sqrt {-d c^2-e} \left (\sqrt {d}-i \sqrt {e} x\right )}\right )}{\sqrt {d} \sqrt {-d c^2-e}}+\frac {i \sqrt {e} \log \left (\frac {2 \sqrt {d} \sqrt {e} \left (c \left (i \sqrt {d} c+\sqrt {-d c^2-e} \sqrt {1-\frac {1}{c^2 x^2}}\right ) x-\sqrt {e}\right )}{\sqrt {-d c^2-e} \left (i \sqrt {e} x+\sqrt {d}\right )}\right )}{\sqrt {d} \sqrt {-d c^2-e}}+\frac {\text {Li}_2\left (-\frac {i \left (\sqrt {d c^2+e}-\sqrt {e}\right ) e^{i \sec ^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {d}}-\frac {\text {Li}_2\left (\frac {i \left (\sqrt {d c^2+e}-\sqrt {e}\right ) e^{i \sec ^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {d}}-\frac {\text {Li}_2\left (-\frac {i \left (\sqrt {e}+\sqrt {d c^2+e}\right ) e^{i \sec ^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {d}}+\frac {\text {Li}_2\left (\frac {i \left (\sqrt {e}+\sqrt {d c^2+e}\right ) e^{i \sec ^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {d}}\right )}{4 e^{3/2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.36, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b x^{2} \operatorname {arcsec}\left (c x\right ) + a x^{2}}{e^{2} x^{4} + 2 \, d e x^{2} + d^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 3.78, size = 1756, normalized size = 2.36 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {1}{2} \, a {\left (\frac {x}{e^{2} x^{2} + d e} - \frac {\arctan \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e} e}\right )} + b \int \frac {x^{2} \arctan \left (\sqrt {c x + 1} \sqrt {c x - 1}\right )}{e^{2} x^{4} + 2 \, d e x^{2} + d^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {x^2\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}{{\left (e\,x^2+d\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________